{extend name="public:layout" /}
{block name="title"}支付方式{/block}
{block name="head"}{/block}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox">
        <div class="ibox-title">
            <ol class="breadcrumb">
                <li><i class="fa fa-hand-o-right"></i> 支付方式</li>
            </ol>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-12">
                    <table class="table table-bordered" id="grid">
                        <tr>
                            <th width="50">ID</th>
                            <th>支付方式</th>
                            <th>支付标识</th>
                            <th>状态</th>
                            <th>备注</th>
                            <th>排序</th>
                            <th width="120">操作</th>
                        </tr>
                        {volist name="list" id="vo"}
                        <tr>
                            <td align="center">{$vo.pay_id}</td>
                            <td>{$vo.pay_name}</td>
                            <td>{$vo.pay_code}</td>
                            <td>{$vo['enabled']==1?'启用':'禁用'}</td>
                            <td>{$vo.pay_desc}</td>
                            <td>{$vo.pay_sort}</td>
                            <td>
                                <a href="{:url('edit',['pay_id'=>$vo['pay_id']])}">编辑</a>
                            </td>
                        </tr>
                        {/volist}
                    </table>
                    <div class="clearfix"></div>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
{/block}
{block name="script"}{/block}